// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import fastClick from 'fastclick' //解决移动端点击事件延迟300毫秒
import veuAwesomeSwiper from 'vue-awesome-swiper' //轮播图插件

import 'styles/resets.css'  // css样式统一
import 'styles/border.css'  //解决移动端一像素问题
import 'styles/animate.css' //动画库
import 'swiper/dist/css/swiper.css' //轮播插件css样式

fastClick.attach(document.body)  //应用fastClick
Vue.use(veuAwesomeSwiper) //使用轮播图插件

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
